@@ -22,10 +22,11 @@ class Subscription < ActiveRecord::Base |
||
22 | 22 |
list_id = ENV['MAILCHIMP_LIST_ID'] |
23 | 23 |
response = Rails.configuration.mailchimp.lists.subscribe({ |
24 | 24 |
id: list_id, |
25 |
+ throws_exceptions: false, |
|
25 | 26 |
email: {email: email}, |
26 | 27 |
double_optin: false |
27 | 28 |
}) |
28 |
- response |
|
29 |
+ #response |
|
29 | 30 |
end |
30 | 31 |
|
31 | 32 |
end |